package com.ruoyi.web.web.form;

import lombok.Data;
import org.springframework.util.StringUtils;

/***
 * 财务状况表
 */
@Data
public class StatusForm implements Validatable {
    private String type;

    public Validation validate() {
        if(StringUtils.isEmpty(type)) {
            type = "reason";
        }
        return Validation.ok();
    }
}
